<?php echo $this->Html->css(array(HOST.'/offers.index',HOST.'/form'),null,array('inline'=>false));?>
<body>
<?php echo $this->Section->main(); ?>

	<div class="container container_3">		
		<div class='grid_1'>
			<?php echo $this->Html->link($this->Html->image(HOST.'/logo.png'),'/',array('escape'=>false,'title'=>__('LEX Nieruchomości - aktualna oferta',true)))?>
			<?php echo $this->element('menu-left')?>
		</div>		
		<div class='grid_2'>
			<?php echo $this->element('menu-category')?>
			<div class='clear'>&nbsp;</div>
			<?php echo $this->element('offers_search')?>
			<div class='clear'>&nbsp;</div>	
			
			<div class="container container_offers_3">
				<div class="offers_grid_3">
					<div class="content">

						<?php echo $this->element('offer_icon')?>				
					
					</div>
				</div>
			</div>
		</div>
		<div class='clear'>&nbsp;</div>
		
		<?php if($session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'admin' || $session->check('Auth.User.id') && $this->Session->read('Auth.User.group') == 'manag'){?>
					
		<?php echo $this->Html->script(array(HOST.'/actions'),$options = array('allowCache'=>false,'safe'=>false,'inline'=>false));?>
		<div class="actions main_actions">
			<h3><?php __('Actions'); ?></h3>
			<ul>
				<li><?php echo $this->Html->link(__('Dodaj ofertę', true), array('controller' => 'offers', 'action' => 'add')); ?> </li>
				<li><?php echo $this->Html->link(__('Opcje wyswietlanai', true), array('controller' => 'offers_columns','action' => 'index'));?></li>
				<li><?php echo $this->Html->link(__('Słownik transakcji', true), array('controller'=>'transakcjas','action' => 'index'));?></li>
				<li><?php echo $this->Html->link(__('Słownik typów', true), array('controller'=>'typs','action' => 'index'));?></li>
				
			</ul>
		</div>
		<?php }?>
							
		<?php echo $this->element('footer')?>
	</div>
	<div class='clear'>&nbsp;</div>
</body>






